'use strict';

// 新品预告
exports.newProduct = function* (ctx) {
	ctx.req.title = '新品预告-食艺道';
    yield this.render("tab/newProduct.html", ctx.req.title);
};

// 今日点评
exports.todayReview = function* (ctx) {
	ctx.req.title = '今日点评-食艺道';
    yield this.render("tab/todayReview.html", ctx.req.title);
};

// 会员中心
exports.members = function* (ctx) {
	ctx.req.title = '会员中心-食艺道';
    yield this.render("tab/members.html", ctx.req.title);
};

// 私人订制
exports.customize = function* (ctx) {
	ctx.req.title = '私人订制-食艺道';
    yield this.render("tab/customize.html", ctx.req.title);
};

// 企业订制
exports.enterpriseCustom = function* (ctx) {
	ctx.req.title = '企业订制-食艺道';
    yield this.render("tab/enterpriseCustom.html", ctx.req.title);
};

// 主厨介绍
exports.chefIntro = function* (ctx) {
	ctx.req.title = '主厨介绍-食艺道';
    yield this.render("tab/chefIntro.html", ctx.req.title);
};

// 关于我们
exports.about = function* (ctx) {
	ctx.req.title = '关于我们-食艺道';
    yield this.render("tab/about.html", ctx.req.title);
};

// 常见问题
exports.faq = function* (ctx) {
	ctx.req.title = '常见问题-食艺道';
    yield this.render("tab/faq.html", ctx.req.title);
};

// 联系我们
exports.contact = function* (ctx) {
	ctx.req.title = '联系我们-食艺道';
    yield this.render("tab/contact.html", ctx.req.title);
};

// 加入我们
exports.join = function* (ctx) {
	ctx.req.title = '加入我们-食艺道';
    yield this.render("join.html", ctx.req.title);
};